package com.evony.common.beans 
{
    import flash.events.*;
    import mx.events.*;
    
    public class VisitorCommentBean extends Object
    {
        public function VisitorCommentBean(arg1:Object=null)
        {
            super();
            var loc1:*=0;
            _bindingEventDispatcher = new flash.events.EventDispatcher(flash.events.IEventDispatcher(this));
            if (arg1 != null) 
            {
                if (arg1.comment != null) 
                {
                    this.comment = arg1.comment;
                }
                if (arg1.id != null) 
                {
                    this.id = arg1.id;
                }
                if (arg1.time != null) 
                {
                    this.time = arg1.time;
                }
                if (arg1.visitorid != null) 
                {
                    this.visitorid = arg1.visitorid;
                }
                if (arg1.read != null) 
                {
                    this.read = arg1.read;
                }
            }
            return;
        }

        public function toDebugString(arg1:String=""):String
        {
            var loc1:*=0;
            var loc2:*="";
            loc2 = loc2 + (arg1 + "comment = " + this.comment + "\n");
            loc2 = loc2 + (arg1 + "id = " + this.id + "\n");
            loc2 = loc2 + (arg1 + "time = " + this.time + "\n");
            loc2 = loc2 + (arg1 + "visitorid = " + this.visitorid + "\n");
            loc2 = loc2 + (arg1 + "read = " + this.read + "\n");
            return loc2;
        }

        public function copyTo(arg1:com.evony.common.beans.VisitorCommentBean):void
        {
            arg1.comment = this.comment;
            arg1.id = this.id;
            arg1.time = this.time;
            arg1.visitorid = this.visitorid;
            arg1.read = this.read;
            return;
        }

        public function toObject():Object
        {
            var loc1:*=new Object();
            loc1.comment = this.comment;
            loc1.id = this.id;
            loc1.time = this.time;
            loc1.visitorid = this.visitorid;
            loc1.read = this.read;
            return loc1;
        }

        [Bindable]
        public var comment:String;

        [Bindable]
        public var read:Boolean;

        [Bindable]
        public var time:String;

        [Bindable]
        public var visitorid:String;

        [Bindable]
        public var id:int;
    }
}
